package net.domor.pms.sys.entity;

import net.domor.pms.common.persistence.BaseEntity;

/**
 * 数据字典数据
 */
public class DictData extends BaseEntity<DictData> {

    /**
     * 数据字典类型
     */
    private DictType dictType;

    /**
     * 数据字典数据编码
     */
    private String code;

    /**
     * 数据字典数据名称
     */
    private String name;

    /**
     * 数据字典数据显示顺序
     */
    private Integer sort = 0;

    /**
     * 数据字典数据备注
     */
    private String remark;

    public DictData() {}

    public DictData(DictType dictType, String code, String name) {
        this.dictType = dictType;
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DictType getDictType() {
        return dictType;
    }

    public void setDictType(DictType dictType) {
        this.dictType = dictType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
